package com.lingyuan.oms.domain.param;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @ClassName：CreateOrderParam
 * @Author: LeiHao
 * @Date: 2024/9/20 11:09
 * @Description: 生成订单参数
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CreateOrderParam {
    private String skuIds;
    private String token;
    private Long addressId;
    private Long couponId;
    /**
     * 订单总额
     */
    private String totalAmount;
    /**
     * 应付金额
     */
    private String payAmount;
    /**
     * 运费
     */
    private String freightAmount ="20.00";
    /**
     * 促销优化金额（促销价、满减、阶梯价）
     */
    private String promotionAmount;
    /**
     * 优惠券抵扣金额
     */
    private String couponAmount;
    /**
     * 支付方式【1->支付宝；2->微信；3->银联； 4->货到付款；】
     */
    private Integer payType = 1;
    /**
     * 订单来源[0->PC订单；1->app订单]
     */
    private Integer sourceType = 0;
    /**
     * 订单备注
     */
    private String note;
    private String orderSn;
    private Long userId;
    private String userName;
//    private Long
}
